home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / applescript.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  7KB  |  281 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <!-- AppleScript mode by Kris Kopicki (21/8/2002) -->
  6. <MODE>
  7.     <PROPS>
  8.         <PROPERTY NAME="doubleBracketIndent" VALUE="false" />
  9.         <PROPERTY NAME="commentStart" VALUE="(*" />
  10.         <PROPERTY NAME="commentEnd" VALUE="*)" />
  11.         <PROPERTY NAME="lineComment" VALUE="--" />
  12.         <PROPERTY NAME="wordBreakChars" VALUE=",+-=<>/?^&*" />
  13.     </PROPS>
  14.     <RULES IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
  15.  
  16.         <SPAN TYPE="COMMENT1">
  17.             <BEGIN>(*</BEGIN>
  18.             <END>*)</END>
  19.         </SPAN>
  20.         <EOL_SPAN TYPE="COMMENT1">--</EOL_SPAN>
  21.  
  22.         <SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE">
  23.             <BEGIN>"</BEGIN>
  24.             <END>"</END>
  25.         </SPAN>
  26.         <SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE">
  27.             <BEGIN>'</BEGIN>
  28.             <END>'</END>
  29.         </SPAN>
  30.  
  31.         <SEQ TYPE="OPERATOR">(</SEQ>
  32.         <SEQ TYPE="OPERATOR">)</SEQ>
  33.         <SEQ TYPE="OPERATOR">+</SEQ>
  34.         <SEQ TYPE="OPERATOR">-</SEQ>
  35.         <SEQ TYPE="OPERATOR">^</SEQ>
  36.         <SEQ TYPE="OPERATOR">*</SEQ>
  37.         <SEQ TYPE="OPERATOR">/</SEQ>
  38.         <SEQ TYPE="OPERATOR">&</SEQ>
  39.         <SEQ TYPE="OPERATOR"><</SEQ>
  40.         <SEQ TYPE="OPERATOR"><=</SEQ>
  41.         <SEQ TYPE="OPERATOR">></SEQ>
  42.         <SEQ TYPE="OPERATOR">>=</SEQ>
  43.         <SEQ TYPE="OPERATOR">=</SEQ>
  44.         <SEQ TYPE="OPERATOR">┬¡</SEQ>
  45.  
  46.     <!-- Constants -->
  47.         <SEQ_REGEXP
  48.             TYPE="LITERAL2"
  49.             HASH_CHAR="application"
  50.             AT_WORD_START="TRUE"
  51.         >application[\t\s]+responses</SEQ_REGEXP>
  52.         <SEQ_REGEXP
  53.             TYPE="LITERAL2"
  54.             HASH_CHAR="current"
  55.             AT_WORD_START="TRUE"
  56.         >current[\t\s]+application</SEQ_REGEXP>
  57.         <SEQ_REGEXP
  58.             TYPE="LITERAL2"
  59.             HASH_CHAR="white"
  60.             AT_WORD_START="TRUE"
  61.         >white[\t\s]+space</SEQ_REGEXP>
  62.  
  63.         <!-- Text Styles -->
  64.         <SEQ_REGEXP
  65.             TYPE="LITERAL2"
  66.             HASH_CHAR="all"
  67.         >all[\t\s]+caps</SEQ_REGEXP>
  68.         <SEQ_REGEXP
  69.             TYPE="LITERAL2"
  70.             HASH_CHAR="all"
  71.             AT_WORD_START="TRUE"
  72.         >all[\t\s]+lowercase</SEQ_REGEXP>
  73.         <SEQ_REGEXP
  74.             TYPE="LITERAL2"
  75.             HASH_CHAR="small"
  76.             AT_WORD_START="TRUE"
  77.         >small[\t\s]+caps</SEQ_REGEXP>
  78.  
  79.     <!-- Predefined Variables -->
  80.         <SEQ_REGEXP
  81.             TYPE="KEYWORD3"
  82.             HASH_CHAR="missing"
  83.             AT_WORD_START="TRUE"
  84.         >missing[\t\s]+value</SEQ_REGEXP>
  85.  
  86.         <KEYWORDS>
  87.         <!-- Keywords -->
  88.             <KEYWORD1>script</KEYWORD1>
  89.             <KEYWORD1>property</KEYWORD1>
  90.             <KEYWORD1>prop</KEYWORD1>
  91.             <KEYWORD1>end</KEYWORD1>
  92.             <KEYWORD1>copy</KEYWORD1>
  93.             <KEYWORD1>to</KEYWORD1>
  94.             <KEYWORD1>set</KEYWORD1>
  95.             <KEYWORD1>global</KEYWORD1>
  96.             <KEYWORD1>local</KEYWORD1>
  97.             <KEYWORD1>on</KEYWORD1>
  98.             <KEYWORD1>to</KEYWORD1>
  99.             <KEYWORD1>of</KEYWORD1>
  100.             <KEYWORD1>in</KEYWORD1>
  101.             <KEYWORD1>given</KEYWORD1>
  102.             <KEYWORD1>with</KEYWORD1>
  103.             <KEYWORD1>without</KEYWORD1>
  104.             <KEYWORD1>return</KEYWORD1>
  105.             <KEYWORD1>continue</KEYWORD1>
  106.             <KEYWORD1>tell</KEYWORD1>
  107.             <KEYWORD1>if</KEYWORD1>
  108.             <KEYWORD1>then</KEYWORD1>
  109.             <KEYWORD1>else</KEYWORD1>
  110.             <KEYWORD1>repeat</KEYWORD1>
  111.             <KEYWORD1>times</KEYWORD1>
  112.             <KEYWORD1>while</KEYWORD1>
  113.             <KEYWORD1>until</KEYWORD1>
  114.             <KEYWORD1>from</KEYWORD1>
  115.             <KEYWORD1>exit</KEYWORD1>
  116.             <KEYWORD1>try</KEYWORD1>
  117.             <KEYWORD1>error</KEYWORD1>
  118.             <KEYWORD1>considering</KEYWORD1>
  119.             <KEYWORD1>ignoring</KEYWORD1>
  120.             <KEYWORD1>timeout</KEYWORD1>
  121.             <KEYWORD1>transaction</KEYWORD1>
  122.             <KEYWORD1>my</KEYWORD1>
  123.             <KEYWORD1>get</KEYWORD1>
  124.             <KEYWORD1>put</KEYWORD1>
  125.             <KEYWORD1>into</KEYWORD1>
  126.             <KEYWORD1>is</KEYWORD1>
  127.  
  128.         <!-- References -->
  129.             <KEYWORD2>each</KEYWORD2>
  130.             <KEYWORD2>some</KEYWORD2>
  131.             <KEYWORD2>every</KEYWORD2>
  132.             <KEYWORD2>whose</KEYWORD2>
  133.             <KEYWORD2>where</KEYWORD2>
  134.             <KEYWORD2>id</KEYWORD2>
  135.             <KEYWORD2>index</KEYWORD2>
  136.             <KEYWORD2>first</KEYWORD2>
  137.             <KEYWORD2>second</KEYWORD2>
  138.             <KEYWORD2>third</KEYWORD2>
  139.             <KEYWORD2>fourth</KEYWORD2>
  140.             <KEYWORD2>fifth</KEYWORD2>
  141.             <KEYWORD2>sixth</KEYWORD2>
  142.             <KEYWORD2>seventh</KEYWORD2>
  143.             <KEYWORD2>eighth</KEYWORD2>
  144.             <KEYWORD2>ninth</KEYWORD2>
  145.             <KEYWORD2>tenth</KEYWORD2>
  146.             <KEYWORD2>last</KEYWORD2>
  147.             <KEYWORD2>front</KEYWORD2>
  148.             <KEYWORD2>back</KEYWORD2>
  149.             <KEYWORD2>st</KEYWORD2>
  150.             <KEYWORD2>nd</KEYWORD2>
  151.             <KEYWORD2>rd</KEYWORD2>
  152.             <KEYWORD2>th</KEYWORD2>
  153.             <KEYWORD2>middle</KEYWORD2>
  154.             <KEYWORD2>named</KEYWORD2>
  155.             <KEYWORD2>through</KEYWORD2>
  156.             <KEYWORD2>thru</KEYWORD2>
  157.             <KEYWORD2>before</KEYWORD2>
  158.             <KEYWORD2>after</KEYWORD2>
  159.             <KEYWORD2>beginning</KEYWORD2>
  160.             <KEYWORD2>the</KEYWORD2>
  161.  
  162.         <!-- Commands -->
  163.             <KEYWORD3>close</KEYWORD3>
  164.             <KEYWORD3>copy</KEYWORD3>
  165.             <KEYWORD3>count</KEYWORD3>
  166.             <KEYWORD3>delete</KEYWORD3>
  167.             <KEYWORD3>duplicate</KEYWORD3>
  168.             <KEYWORD3>exists</KEYWORD3>
  169.             <KEYWORD3>launch</KEYWORD3>
  170.             <KEYWORD3>make</KEYWORD3>
  171.             <KEYWORD3>move</KEYWORD3>
  172.             <KEYWORD3>open</KEYWORD3>
  173.             <KEYWORD3>print</KEYWORD3>
  174.             <KEYWORD3>quit</KEYWORD3>
  175.             <KEYWORD3>reopen</KEYWORD3>
  176.             <KEYWORD3>run</KEYWORD3>
  177.             <KEYWORD3>save</KEYWORD3>
  178.             <KEYWORD3>saving</KEYWORD3>
  179.  
  180.         <!-- Predefined Variables -->
  181.             <LITERAL2>it</LITERAL2>
  182.             <LITERAL2>me</LITERAL2>
  183.             <LITERAL2>version</LITERAL2>
  184.             <LITERAL2>pi</LITERAL2>
  185.             <LITERAL2>result</LITERAL2>
  186.             <LITERAL2>space</LITERAL2>
  187.             <LITERAL2>tab</LITERAL2>
  188.             <LITERAL2>anything</LITERAL2>
  189.  
  190.         <!-- Constants -->
  191.             <LITERAL2>case</LITERAL2>
  192.             <LITERAL2>diacriticals</LITERAL2>
  193.             <LITERAL2>expansion</LITERAL2>
  194.             <LITERAL2>hyphens</LITERAL2>
  195.             <LITERAL2>punctuation</LITERAL2>
  196.  
  197.             <!-- Text Styles -->
  198.             <LITERAL2>bold</LITERAL2>
  199.             <LITERAL2>condensed</LITERAL2>
  200.             <LITERAL2>expanded</LITERAL2>
  201.             <LITERAL2>hidden</LITERAL2>
  202.             <LITERAL2>italic</LITERAL2>
  203.             <LITERAL2>outline</LITERAL2>
  204.             <LITERAL2>plain</LITERAL2>
  205.             <LITERAL2>shadow</LITERAL2>
  206.             <LITERAL2>strikethrough</LITERAL2>
  207.             <LITERAL2>subscript</LITERAL2>
  208.             <LITERAL2>superscript</LITERAL2>
  209.             <LITERAL2>underline</LITERAL2>
  210.  
  211.             <!-- Save options -->
  212.             <LITERAL2>ask</LITERAL2>
  213.             <LITERAL2>no</LITERAL2>
  214.             <LITERAL2>yes</LITERAL2>
  215.  
  216.             <!-- Booleans -->
  217.             <LITERAL2>false</LITERAL2>
  218.             <LITERAL2>true</LITERAL2>
  219.  
  220.             <!-- Date & Time -->
  221.             <LITERAL2>weekday</LITERAL2>
  222.             <LITERAL2>monday</LITERAL2>
  223.             <LITERAL2>mon</LITERAL2>
  224.             <LITERAL2>tuesday</LITERAL2>
  225.             <LITERAL2>tue</LITERAL2>
  226.             <LITERAL2>wednesday</LITERAL2>
  227.             <LITERAL2>wed</LITERAL2>
  228.             <LITERAL2>thursday</LITERAL2>
  229.             <LITERAL2>thu</LITERAL2>
  230.             <LITERAL2>friday</LITERAL2>
  231.             <LITERAL2>fri</LITERAL2>
  232.             <LITERAL2>saturday</LITERAL2>
  233.             <LITERAL2>sat</LITERAL2>
  234.             <LITERAL2>sunday</LITERAL2>
  235.             <LITERAL2>sun</LITERAL2>
  236.  
  237.             <LITERAL2>month</LITERAL2>
  238.             <LITERAL2>january</LITERAL2>
  239.             <LITERAL2>jan</LITERAL2>
  240.             <LITERAL2>february</LITERAL2>
  241.             <LITERAL2>feb</LITERAL2>
  242.             <LITERAL2>march</LITERAL2>
  243.             <LITERAL2>mar</LITERAL2>
  244.             <LITERAL2>april</LITERAL2>
  245.             <LITERAL2>apr</LITERAL2>
  246.             <LITERAL2>may</LITERAL2>
  247.             <LITERAL2>june</LITERAL2>
  248.             <LITERAL2>jun</LITERAL2>
  249.             <LITERAL2>july</LITERAL2>
  250.             <LITERAL2>jul</LITERAL2>
  251.             <LITERAL2>august</LITERAL2>
  252.             <LITERAL2>aug</LITERAL2>
  253.             <LITERAL2>september</LITERAL2>
  254.             <LITERAL2>sep</LITERAL2>
  255.             <LITERAL2>october</LITERAL2>
  256.             <LITERAL2>oct</LITERAL2>
  257.             <LITERAL2>november</LITERAL2>
  258.             <LITERAL2>nov</LITERAL2>
  259.             <LITERAL2>december</LITERAL2>
  260.             <LITERAL2>dec</LITERAL2>
  261.  
  262.             <LITERAL2>minutes</LITERAL2>
  263.             <LITERAL2>hours</LITERAL2>
  264.             <LITERAL2>days</LITERAL2>
  265.             <LITERAL2>weeks</LITERAL2>
  266.  
  267.         <!-- Operators -->
  268.             <OPERATOR>div</OPERATOR>
  269.             <OPERATOR>mod</OPERATOR>
  270.             <OPERATOR>and</OPERATOR>
  271.             <OPERATOR>not</OPERATOR>
  272.             <OPERATOR>or</OPERATOR>
  273.             <OPERATOR>as</OPERATOR>
  274.             <OPERATOR>contains</OPERATOR>
  275.             <OPERATOR>equal</OPERATOR>
  276.             <OPERATOR>equals</OPERATOR>
  277.             <OPERATOR>isn't</OPERATOR>
  278.         </KEYWORDS>
  279.     </RULES>
  280. </MODE>
  281.